import Vue from 'vue'
import App from './App.vue'
import router from './router'
// //引入js适配移动端
// import "./assets/js/phone"
Vue.config.productionTip = false
//引入css初始化
import './assets/css/base.css'
//引入vant库自定义的插件
import './plugins/vant'
//使用开发echarts插件
import echarts from './plugins/echarts'
//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
//引入mock
import '@/api/mock'
//引入防止多次点击多次请求
import preventReClick from './utils/preventReClick' //防多次点击，重复提交

Vue.use(echarts)
Vue.use(VueAwesomeSwiper)

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
